package dao.storageRecord;

import entity.StorageRecord;

import java.util.List;

public interface StorageRecordMapper {
    /**
     * 查询入库记录表
     * @return
     */
    public List<StorageRecord> getStorageRecordLike(StorageRecord storageRecord);

    /**
     * 查询入库记录及相关的供应商名称
     * @param storageRecord
     * @return
     */
    public List<StorageRecord> getStorageRecordSupplierName(StorageRecord storageRecord);

    /**
     * 使用association查询入库记录表
     * @param storageRecord
     * @return
     */
    public List<StorageRecord> getStorageRecordSupplierAssociation(StorageRecord storageRecord);

    /**
     * 使用collection查询入库记录表
     * @param storageRecord
     * @return
     */
    public List<StorageRecord> getStorageRecordSupplierCollection(StorageRecord storageRecord);

    /**
     * 查询入库记录列表
     * @return
     */
    public List<StorageRecord> getStorageRecordlist(StorageRecord storageRecord);
}
